package com.zyw.zhuangdian.service;

import com.zyw.zhuangdian.pojo.Resp;
import com.zyw.zhuangdian.pojo.dto.FileDto;
import com.zyw.zhuangdian.pojo.in.FileDtoIn;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface FileService {
    Resp<FileDto> saveBase64Image(FileDtoIn in);
    Resp<List<FileDto>> saveBase64Images(FileDtoIn in);
    Resp<FileDto> saveFormDataImage(MultipartFile in);
    Resp<List<FileDto>> listFiles(FileDto in);
    Resp<Void> deleteFiles(FileDtoIn in);
}
